package io;

import java.io.FileOutputStream;
import java.nio.charset.StandardCharsets;

public class WriteStringDemo {
    public static void main(String[] args) throws Exception {
        FileOutputStream fos = new FileOutputStream("ge.txt",true);
        String s = "穿梭时间的画面的钟，从反方向开始移动。";
        byte[] data = s.getBytes(StandardCharsets.UTF_8);
        fos.write("穿梭时间的画面的钟，从反方向开始移动。".getBytes(StandardCharsets.UTF_8));
        System.out.println("写出完毕");
        fos.close();

    }
}
